<?xml version="1.0" encoding="utf-8" ?>
<asn:Sequence
  xmlns:asn="http://schemas.dot.net/asnxml/201808/"
  name="ECPrivateKey"
  namespace="System.Security.Cryptography.Asn1">

  <!--
    https://www.secg.org/sec1-v2.pdf, C.4

    ECPrivateKey ::= SEQUENCE {
        version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1),
        privateKey OCTET STRING,
        parameters [0] ECDomainParameters {{ SECGCurveNames }} OPTIONAL,
        publicKey [1] BIT STRING OPTIONAL
    }
  -->
  <asn:Integer name="Version" backingType="int" />
  <asn:OctetString name="PrivateKey" />
  <asn:AsnType name="Parameters" typeName="System.Security.Cryptography.Asn1.ECDomainParameters" explicitTag="0" optional="true" />
  <asn:BitString name="PublicKey" explicitTag="1" optional="true" />
</asn:Sequence>
